<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        /*
            获取浏览器的可视窗口的尺寸的方法有两个方法
            innerHeight
            innerWidth
            顾名思义，一个是获取高度、一个是获取宽度
        */

        let innerWidth = window.innerWidth
        let innerHeight = window.innerHeight

        console.log(innerWidth,innerHeight)
    </script>
</body>
</html>